<template>
  <el-container>
    <el-header>uu</el-header>
    <el-main>
      <el-row :gutter="10">
        <el-col :xs="8" :sm="8" :md="6" :lg="6" :xl="4" v-for="(item,i) in newIslist" :key="i">
         <img :src="item.img" alt="">
        </el-col>
      </el-row>
    </el-main>
    <el-footer>Footer</el-footer>
  </el-container>
</template>
<script>
export default {
  data() {
    return {
      islist:'',
      userid:this.$store.state.isclassid
    };
  },
  created() {
    this.$store.dispatch("getclasid");
  },
  computed:{
    newIslist(){
      return this.$store.state.isclassid
    }
  },
  mounted() {
    console.log(222)
    this.islist = this.$store.state.isclassid;
    console.log(this.islist)
  }
};
</script>
<style scoped>
.el-container {
  height: 100%;
}
.el-header {
  background-color: #b3c0d1;
  color: #333;
  text-align: left;
  line-height: 60px;
}
.el-main {
  background-color: #e9eef3;
  color: #333;
  padding: 10px;
}
.el-col {
  border-radius: 4px;
  min-height: 56px;
}
.el-col img{
  width:100%
}
.bg-purple-dark {
  background: #99a9bf;
}

.bg-purple-light {
  background: #e5e9f2;
}
.grid-content {
  border-radius: 4px;
}
.el-row .isshouye {
  margin-bottom: 20px;
  min-height: 100px;
}
.isshouye img {
  width: 100%;
}
</style>